package net.lgy.service;

import net.lgy.controller.request.AccountLoginRequest;
import net.lgy.dto.AccountDTO;
import net.lgy.model.AccountDO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface AccountService {
    String uploadAvatar(MultipartFile file) throws IOException;

    void createDefaultBucket(AccountDO accountDO);

    AccountDTO login(AccountLoginRequest request);

    AccountDTO findByPhone(String phone);
}
